Open
Conversation
- Migrate from Poetry to PEP 621 pyproject.toml with uv - Upgrade Python version from 3.6 to 3.11 minimum (3.14 recommended) - Replace black/flake8/isort with ruff (linter + formatter) - Modernize Dockerfile: multi-stage build, slim-bookworm, non-root - Replace pkg_resources with importlib.metadata (setuptools 82+ compatibility) - Update dependencies to latest versions - Add .python-version file - Add .dockerignore file - Remove legacy CI (.travis.yml) and Dockerfile.template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR comprehensively modernizes the project's Python tooling to use current best practices:
Python Version Upgrade
.python-versionfile pinning to 3.14Packaging Migration
pyproject.tomlwith[tool.poetry]) to PEP 621 ([project]table)poetry.lockin favor ofuv.lockLinting & Formatting
black,flake8,isort,pyupgradewith ruff (single tool)[tool.ruff]configuration inpyproject.tomlPackage Manager
uv.lockto.gitignore(per PEP 668)Dockerfile Modernization
python:3.14-slim-bookworm(waspython:3.7-bullseye)appuser)Dependency Updates
protobufto 7.34.0 (was 6.33.5)setuptools(required for build)Compatibility Fixes
pkg_resourceswithimportlib.metadata(setuptools 82+ removed pkg_resources)Removed Legacy Files
.travis.yml(replaced by GitHub Actions - to be added)Dockerfile.templatepoetry.lockSecurity Audits
pip-audit: No vulnerabilities foundbandit: Issues documented (mostly intentional subprocess calls for external tools)Testing
murakami,murakami-convert,murakami-uploadWhy These Changes
pyproject.tomlBreaking Changes
uv syncinstead ofpoetry installuv run murakamior installation viauv pip install .Notes for Reviewers
This change is